package com.zhousb.deviceManager.model.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import org.springframework.data.annotation.Id;

import java.time.LocalDateTime;

/**
 * @author ZhouShenBin
 * @date 2024/7/11 10:39
 * @description
 */

@Data
public class ImNotice {
    private Long id;
    private String type;
    private String content;
    private String color;
    private String orderUserName;
    private Long orderId;
    private String orderCode;
    private String targetUserId;
    private Integer status;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
    @JsonIgnore
    private String deleteFlag;
}
